package com.example.demo.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data    // 为属性加上getset方法

public class staff {
    @TableId(value = "staffid",type = IdType.AUTO)
    private String staffid;
    private String staffname;
    private String staffgender;
    private String staffprofession;
    private String staffyear;
    private String staffphoto;

}
